﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace lottery_program
{
    class Program
    {
        static void Main(string[] args)
        {
            var range = new int[49];

            //initialize vector
            for (int i = 0; i < 49; i++)
                range[i] = i + 1;

            var randomNumber = new Random();

            var numbers = new int[6];

            for (int i = 0; i < 6; i++)
                numbers[i] = randomNumber.Next(49);

            Console.WriteLine("You lottery numbers are:");
            for (int i = 0; i < numbers.Length; i++)
                Console.Write(numbers[i] + " ");
            
            Console.WriteLine();
        }
    }
}
